Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: TL3 can convert their post to a wiki #25023

Merged
merged 1 commit into from Dec 23, 2023
Merged

Conversation

lis2
Copy link
Contributor

@lis2 lis2 commented Dec 23, 2023

A bug that allowed TL1 to convert other's posts to wiki.

The issue was introduced in this PR: https://github.com/discourse/discourse/pull/24999/files

The wiki can be created if a user is TL3 and it is their own post - default 3 for setting min_trust_to_allow_self_wiki

In addition, a wiki can be created by staff and TL4 users for any post.

A bug that allowed TL1 to convert other's posts to wiki.

The issue was introduced in this PR: https://github.com/discourse/discourse/pull/24999/files

The wiki can be created if a user is TL3 and it is their own post - default 3 for setting `SiteSetting.min_trust_to_allow_self_wiki`

In addition, a wiki can be created by staff and TL4 users for any post.
@lis2 lis2 merged commit d03f672 into discourse:main Dec 23, 2023
19 checks passed
@lis2 lis2 deleted the create-wiki-bug branch December 23, 2023 10:31
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/tl3-can-make-everyones-post-a-wiki/289611/7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants